<template>
  <view class="approval-item">
    <CommonHeader>调薪申请</CommonHeader>
    <view class="approval-content">
      <CommonInfo approvalType="调薪" />
      <view class="input-area">
        <Field label="调整额度" @getValue="getAdjustLines" />
        <Field label="基本工资" @getValue="getBaseSalary" />
        <Textarea label="调薪原因" @getInputData="getAdjustReason" />
      </view>
      <ApprovalButton
        :warn="warn"
        :approvalType="'adjustSalary'"
        :procInfo="{
          adjustLines: approval.adjustLines,
          baseSalary: approval.baseSalary,
          adjustReason: approval.adjustReason,
        }"
      />
    </view>
    <van-toast id="van-toast" />
  </view>
</template>
<script src="./script.js"></script>
<style lang="less" src="./style.less"></style>
